<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2000/REC-xhtml1-200000126/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="title" content="askeet! ask questions, find answers">
<meta name="robots" content="index, follow">
<meta name="description" content="askeet!, a symfony project built in 24 hours">
<meta name="keywords" content="symfony, project, askeet, php5, question, answer">
<meta name="language" content="en">

<title>askeet! ask questions, find answers</title>

<?php 
function connettiDb()
{
	mysql_connect('localhost','root','') or die('impossibile collegarsi al server');
	mysql_select_db('chiedimelo')or die('impossibile collegarsi al database');
	
	
}


 connettiDb()?>
<link rel="alternate" type="application/rss+xml" title="Rss" href="http://www.askeet.com/feed/popular"><link rel="alternate" type="application/rss+xml" title="Rss" href="http://www.askeet.com/feed/recentQuestions"><link rel="alternate" type="application/rss+xml" title="Rss" href="http://www.askeet.com/feed/recent_answers">
<link rel="shortcut icon" href="favicon.ico">

<link rel="stylesheet" type="text/css" href="index.css" media="all">
</head>
<body>
  <div id="indicator" style="display: none;"></div>
  <div id="header">
    <ul>
              <li><a href="http://www.askeet.com/login">sign in / register</a></li>
            <li class="last"><a href="http://www.askeet.com/about">about</a></li>
    </ul>
    <h1>
    <a href="http://www.askeet.com/"><img alt="askeet" src="askeet_logo.gif" align="middle"></a>    ask <strong>it</strong> - find <strong>it</strong> - answer <strong>it</strong>    </h1>
  </div>

  <div id="login" style="display: none;">
    <h2>please sign-in first</h2>
    <form id="loginform" method="post" action="http://www.askeet.com/login">      <label for="nickname">nickname:</label><input name="nickname" id="nickname" value="" type="text">      <label for="password">password:</label><input name="password" id="password" value="" type="password">      <input name="referer" id="referer" value="http://www.askeet.com/" type="hidden">      <input name="commit" value="login" type="submit">      <a href="#" onclick="new Effect.BlindUp('login', {duration:0.5});; return false;">cancel</a>    </form>
  </div>

  <div id="content">
    <div id="content_main">
      <h1>featured questions</h1>


  
<?php include 'domande.php';?>

<div id="question_pager" class="right">
  </div>
      <div class="verticalalign"></div>
    </div>

    <div id="content_bar">
      <div class="topbar"></div>
      
<div id="add_question">
  <a href="#" onclick="new Effect.BlindDown('login', {duration:0.5});; return false;">ask a new question</a></div>



      <div class="verticalalign"></div>
    </div>
  </div>

  <div id="footer">
  powered by <a href="http://www.symfony-project.com/"><img src="symfony.gif" alt="Symfony" align="absmiddle"></a>  </div>

</body>
</html>
